import Vuex from "vuex";
import Vue from "vue";
// 注册插件
Vue.use(Vuex);
import home from './home/index';
import category from "./category";
import worth from "./worth/index";
import hotKey from "./hotKey";
import user from "./user/index";
import shopcart from "./shopcart";
// 创建仓库
import worth from "./worth";
import user from "./user";
import shopcart from "./shopcart";
import hotKey from "./hotKey";
export default new Vuex.Store({
  modules: {
    home,
    shopcart,
    worth,
    hotKey,
    user,
    shopcart,
  },
});
